package com.lwlk.zdk.mapper.task;

import com.lwlk.zdk.model.task.pwTask;
import com.lwlk.zdk.model.task.pwTaskExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface pwTaskMapper {
    int countByExample(pwTaskExample example);

    int deleteByExample(pwTaskExample example);

    int insert(pwTask record);

    int insertSelective(pwTask record);

    List<pwTask> selectByExample(pwTaskExample example);

    int updateByPrimaryKeySelective(pwTask record);

    int updateByExampleSelective(@Param("record") pwTask record, @Param("example") pwTaskExample example);

    int updateByExample(@Param("record") pwTask record, @Param("example") pwTaskExample example);

    pwTask selectAll(Integer id);

    List<Map<String, Object>> selectCondition(@Param("assessPeriod") String assessPeriod, @Param("issueType") String issueType, @Param("assessObject") String assessObject,@Param("platformIds") Integer platformIds,@Param("uId")Integer uId);

    Integer delete(@Param("id") Integer id);

    List<Map<String, Object>> selectDetails(Integer id);
}